#ifndef						__ASYNC_H__
#define						__ASYNC_H__

#include					<boost/asio.hpp>
#include					<boost/thread.hpp>

class						Async
{
public:
	Async();
	~Async();

private:
	boost::asio::io_service _io_service;
	boost::thread_group		_threads;

public:
	void					start();
	void					wait();
	void					close();
	boost::asio::io_service	&getService();
};

#endif // ! __ASYNC_H__